<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script>
        //第一种方式使用 new关键字
        var arr = new Array();   //创建一个空数组

        //第二种方式
        var arr2 = [];    //创建一个空数组
        var arr3 = ['100','xxx',false];

        console.log(arr3)
        console.log(arr3[1])
    </script>
</head>
<body>
    
</body>
</html>